package com.example.demo.pojo.Unit;

import com.example.demo.pojo.entity.QuestionLabel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class QuestionNumber {
    private Integer questionLabelId;
    private Integer number;
    private Integer parentId;
    private String nodeId;
    private Integer level;
    public QuestionNumber(QuestionLabel questionLabel, Integer number) {
        this.questionLabelId = questionLabel.getId();
        this.number=number;
        this.parentId=questionLabel.getParentId();
        this.nodeId = questionLabel.getNodeId();
        this.level=questionLabel.getLevel();
    }

}
